import { Routes } from '@angular/router';
import { LoginComponent } from './login/login.component';
import { RegisterComponent } from './register/register.component';
import { AskForLevelStartComponent } from './camunda/ask_for_level/ask-for-level-start/ask-for-level-start.component';
import { AskForLevelPersonnelMattersComponent } from './camunda/ask_for_level/ask-for-level-personnel-matters/ask-for-level-personnel-matters.component';
import { TaskListComponent } from './camunda/task-list/task-list.component';
import { IndexComponent } from './index/index.component';
import { BloomComponent} from './redis/bloom/bloom.component';
import { AllowRequestComponent } from './redis/allow-request/allow-request.component';
import { LockComponent } from './redis/lock/lock.component';
import { CacheComponent } from './redis/cache/cache.component';
import { RabbitmqComponent } from './rabbitmq/rabbitmq.component';
import { GatewayComponent } from './gateway/gateway.component';
import { InterfaceComponent} from './interface/interface.component';
import { EurekaComponent} from './eureka/eureka.component';
import { NacosComponent } from './nacos/nacos.component';

export const routes: Routes = [
  { path: "", component: IndexComponent },
  { path: "index", component: IndexComponent },
  { path: 'login', component: LoginComponent },

  { path: 'register', component: RegisterComponent },
  { path: 'eureka', component: EurekaComponent },

  { path: 'camunda/ask-for-level-start', component: AskForLevelStartComponent },
  { path: 'camunda/ask-for-level-personnel-matters', component: AskForLevelPersonnelMattersComponent },
  { path: 'camunda/task-list', component: TaskListComponent },

  { path: 'redis/bloom', component: BloomComponent },
  { path: 'redis/allRequest', component: AllowRequestComponent},
  { path: 'redis/lock', component: LockComponent},
  { path: 'redis/cacheable', component: CacheComponent},

  { path: 'mq', component: RabbitmqComponent },

  { path: 'gateway', component: GatewayComponent },

  { path: 'interface', component: InterfaceComponent },

  { path: "nacos", component: NacosComponent }
];
